﻿using System;

namespace Eassets.Layered.Domain.Asset
{
    [Serializable]
   public class Assets
    {
        #region Fields

        /// <summary>
        /// The Asset Id of the Asset.
        /// </summary>
        private long assetId;
        /// <summary>
        /// The Asset Category Id of the Asset.
        /// </summary>
        private long assetCategoryId;
        /// <summary>
        /// The Asset Code of the Asset.
        /// </summary>
        private string code = string.Empty;
        /// <summary>
        /// The Description of the Asset.
        /// </summary>
        private string description = string.Empty;
        /// <summary>
        /// The More Details of the Asset.
        /// </summary>
        private string moreDetails = string.Empty;

        /// <summary>
        /// The asset Creation Date
        /// </summary>
        private DateTime sys_DateCreation;
        /// <summary>
        /// Asset Modify Date
        /// </summary>
        private DateTime sys_DateLastModification;

        #endregion

        #region Properties


        /// <summary>
        /// Gets or sets the Asset Id of the Asset.
        /// </summary>
        /// <value>
        /// The Asset Id of the Asset.
        /// </value>
        public long AssetId
        {
            get
            {
                return this.assetId;
            }
            set
            {
                this.assetId = value;
            }
        }

        /// <summary>
        /// Gets or sets the Asset Category Id of the Asset.
        /// </summary>
        /// <value>
        /// The Asset Category Id of the Asset.
        /// </value>
        public long AssetCategoryId
        {
            get
            {
                return this.assetCategoryId;
            }
            set
            {
                this.assetCategoryId = value;
            }
        }

        /// <summary>
        /// Gets or sets the Asset Code of the Asset.
        /// </summary>
        /// <value>
        /// The Asset Code of the Asset.
        /// </value>
        public string Code
        {
            get
            {
                return this.code;
            }
            set
            {
                this.code = value;
            }
        }

        /// <summary>
        /// Gets or sets the Description of the Asset.
        /// </summary>
        /// <value>
        /// The Description of the Asset.
        /// </value>
        public string Description
        {
            get
            {
                return this.description;
            }
            set
            {
                this.description = value;
            }
        }

        /// <summary>
        /// Gets or sets the More Details of the Asset.
        /// </summary>
        /// <value>
        /// The More Details of the Asset.
        /// </value>
        public string MoreDetails
        {
            get
            {
                return this.moreDetails;
            }
            set
            {
                this.moreDetails = value;
            }
        }

        public DateTime SysDateCreation
        {
            get
            {
                return this.sys_DateCreation;
            }
            set
            {
                this.sys_DateCreation = value;
            }
        }

        public DateTime SysDateLastModification
        {
            get
            {
                return this.sys_DateLastModification;
            }
            set
            {
                this.sys_DateLastModification = value;
            }
        }
        #endregion
    }
}
